<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>文件上传和下载</title>
</head>
<body>
    <form action="http://localhost:8080/book/uploadServlet" enctype="multipart/form-data" method="post">
        用户名:<input type="text" name="username" value="zhangSan"><br/>
        头  像:<input type="file" name="photo"><br/>
              <input type="submit" value="提交">
    </form>
</body>
</body>
</html>
